package com.hyacinth.lotterysystem.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hyacinth.lotterysystem.dao.entity.ActivityUserDO;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ActivityUserMapper extends BaseMapper<ActivityUserDO> {
    @Select("select * from activity_user where activity_id = #{activityId}")
    List<ActivityUserDO> selectByActivityId(Long activityId);
}
